﻿using UnityEngine;
 
 namespace QFramework.Example
 {
 
     public class GameObjAndMonoBehaviourExample : MonoBehaviour
     {
         void Start()
         {
             var gameObj = Fluent.GameObject()
                 .Name("GameObjWithMonoBehaivour")
                 .Build();
 
             Fluent.MonoBehaviour(gameObj)
                 .OnStart(() =>
                 {
                     Debug.Log("start");
                 })
                 .Build();
         }
     }
 }